package com.stfalcon.chatkit.sample.features.demo;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;

import com.stfalcon.chatkit.sample.frame.UserFrame;

/**
 * @author ChayChan
 * @date 2017/6/23  11:22
 */
public class TabFragment extends Fragment {

    public static final String CONTENT = "content";
    private TextView mTextView;

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        Intent intent = new Intent(this.getContext(), UserFrame.class);

        startActivity(intent);
    }



//    @Nullable
//    @Override
//    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle bundle) {
//
//      return inflater.inflate(R.layout.activity_user_layout, container, false);
//
//    }
//    public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
//
//        super.onViewCreated(view, savedInstanceState);
//
//        mTextView = view.findViewById(R.id.mobileTextView);
//
//        this.mTextView.setText("里面");
//
//        RelativeLayout mLinearLayout = view.findViewById(R.id.mainRelativeLayout);
//
//        RelativeLayout layout = new RelativeLayout(this.getContext());
//
//        AppCompatImageView imageView = view.findViewById(R.id.mainImageView);
//
////        layout.addView(imageView, 0);
//
//        layout.addView(mTextView, 1);
//        mLinearLayout.addView(layout);
//
//
//    }

}
